﻿using Microsoft.EntityFrameworkCore;
using S.RBAC.Domain.Model;

namespace S.RBAC.Infrastructure
{
    public class EFCoreContext : DbContext
    {
        public EFCoreContext(DbContextOptions<EFCoreContext> options) : base(options) { }

        public DbSet<Role> Roles { get; set; }

        public DbSet<Jurisdiction> Jurisdictions { get; set; }

        public DbSet<RoleJurisdiction> RoleJurisdictions { get; set; }

        public DbSet<StaffState> StaffStates { get; set; }

        public DbSet<Post> Posts { get; set; }

        public DbSet<Station> Stations { get; set; }

        public DbSet<Staff> Staff { get; set; }

        public DbSet<Operation> Operations { get; set; }

        public DbSet<Department> Departments { get; set; }

        public DbSet<DepartType> DepartTypes { get; set; }
    }
}
